package com.cnunicom.modules.tra.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.cnunicom.common.utils.JsonLongSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author: dingziyuan
 * @Date: 2020/3/9 9:41
 * @Description: 单位查询
 */
@Data
public class UnitMebHisVO {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "单位id")
    @TableId(type = IdType.INPUT)
    @JsonSerialize(using = JsonLongSerializer.class)
    private Long id;

    @ApiModelProperty(value = "单位名称")
    private String name;

    @ApiModelProperty(value = "办公室主任姓名")
    private String officeChiefName;

    @ApiModelProperty(value = "办公室主任电话")
    private String officeChiefNum;

    @ApiModelProperty(value = "二维码保存地址")
    private String qrCodeUrl;

    @ApiModelProperty(value = "会员总数")
    private Integer totalMember;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private String isDel;

    @ApiModelProperty(value = "总入住房间数")
    private Long totalStay;

    @ApiModelProperty(value = "总金额")
    private BigDecimal totalPrice;

}
